package com.pt.pok.proxy.client.integration.util.zip;

/**
 * @author Roman.Ivanov@playtech.com
 *         <p/>
 *         Library for binary data compression
 */
public class CompressionUtil {

    public static final int COMPRESSION_THRESHOLD = 300000;

    public static boolean checkIfCompressionRequired(byte[] protobufData) {
        return protobufData.length > COMPRESSION_THRESHOLD;
    }

    public static byte[] compress(byte[] data) {
        return data;
    }

    public static byte[] decompress(byte[] data) {
        return data;
    }

}
